﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Common;

namespace SysAdmin._03_Service
{
    public class ServiceCommonTool
    {
        public static string CreateOrderNo()
        {
            string rand = "";
            for (int i = 0; i < 5; i++)
            {
                rand += RandTool.CreateRandValWithMinMax(0, 9).ToString();
            }
            string time = TimeService.Now.ToString("yyyyMMddHHmmss");

            return string.Format("E{0}{1}", time, rand);
        }
    }
}
